# 用于理解flask中的路由系统


def route(rule, **options):

    def decorator(f):
        f()
        print('this is decorator!')
        print(f)
        return f
    return decorator


@route('/12')
def hello():
    print('this is hello')


f = hello()
print(type(f))
